package com.leyou.mall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leyou.mall.data.entity.Seckill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * @ClassName: SeckillMapper
 * @author: LYL
 * @date: 2022/6/22 14:02
 * @Version 1.0
 */
@Mapper
public interface SeckillMapper extends BaseMapper<Seckill> {
    Page<Seckill> findPage(Page<Object> page, @Param("seckillName") String seckillName,
                           @Param("startTime") Date startTime,
                           @Param("stopTime") Date stopTime);
}
